<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title></title>
  
  <link rel="stylesheet" href="/resource/bootstrap/css/bootstrap.min.css">
  <link rel="stylesheet" href="/resource/plugins/daterangepicker/daterangepicker-bs3.css">
  <link rel="stylesheet" href="/resource/font/iconfont.css">

  <script src="/resource/polyfill/index.js"></script>
  <script type="text/javascript">
    window._AMapSecurityConfig = {
    serviceHost:'https://cloud.shb.ltd/_AMapService',   
        // 例如 ：serviceHost:'http://1.1.1.1:80/_AMapService',
    }
  </script>
  <script src="https://webapi.amap.com/loader.js"></script>
  <script type="text/javascript" >
      let __initAmap = () => {
        return new Promise((resolve, reject) => {
          AMapLoader.load({
            plugins: ['AMap.ToolBar', 'AMap.Driving', 'AMap.PlaceSearch', 'AMap.Geocoder', 'AMap.Geolocation'],
            key: '811588be3c76d165ff1b16c738065a7b', // 申请好的Web端开发者Key，首次调用 load 时必填
            version: '1.4.15', // 指定要加载的 JSAPI 的版本，缺省时默认为 1.4.15
          })
            .then(AMap => {
              resolve()
              console.log('*****AMapLoader success*****', AMap);
            })
            .catch(e => {
              reject()
              console.error('*****AMapLoader error*****', e); //加载错误提示
            });
        });
      };  
  </script>
  <!-- magic comment script -->
  <!-- magic comment vendor -->
</head>
<body>
  <div id="app"></div>
  <script src="/resource/plugins/jQuery/jquery-3.6.0.min.js"></script>
  <script src="/resource/plugins/daterangepicker/moment-2.29.4.min.js"></script>
  <script src="/resource/plugins/daterangepicker/daterangepicker.js"></script>
  <!-- <script src="https://webapi.amap.com/maps?v=1.3&key=34a87903ee2dff36f84744786f7e8c35"></script> -->
  
</body>
</html>